//
//  PAHomeScrollerView.h
//  PAMobileWallet
//
//  Created by shen pu on 13-7-15.
//  Copyright (c) 2013年 平安付. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PABaseView.h"

@class PABankCardView;
@class PABankCardInfo;
@protocol PABankCardViewDelegate <NSObject>

- (void)sendHomeScroller:(PABankCardView *)getHomeScroller sendButton:(UIButton *)sender;

@end

@interface PABankCardView : UIView

@property(nonatomic,weak)id<PABankCardViewDelegate>PA_delegate;

@property(nonatomic,strong)UIImageView * bankCardBgImage;    //对应某个行的卡的背景图
@property(nonatomic,strong)UIImageView * bankCardImage;      //对应某个行的logo
@property(nonatomic,strong)UIImageView * bankCardNameImage;  //对应某个行的名字image
@property(nonatomic,strong)UIImageView * lineImageView;      //卡片下边的image
@property(nonatomic,strong)UILabel * bankCardNumLable;       //对应某个行的卡号
@property(nonatomic,strong)UILabel * bankCardTypeable;       //对应某个行的卡号
@property(nonatomic,strong)UILabel * bankCardNameLable;      //下边显示的对应的平安银行

@property(nonatomic,strong)UIButton * bankCardAddButton;      //添加银行卡按钮

- (void)pressButton:(UIButton *)sender;
- (id)initWithCardInfo:(PABankCardInfo *)bankCardInfo;
- (void)loadCardInfo:(PABankCardInfo *)bankCardInfo;
@end
